﻿using Anke.SHManage.MSSQLDAL;
using Anke.SHManage.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.BLL
{
   public class TelRecordBLL
    {
        private TelRecordDAL dal = new TelRecordDAL();

        //查询电话流水
        public object GetTelRecordList(int pageSize, int pageIndex, DateTime start, DateTime end, string callPhone, string workCode, string deskCode, string resultType, string isCallOut,
                                        string isInLine, string isWireless, E_StatisticsPermisson em, string selfWorkCode, string selfCenterID, string selfStationID, string eventDispatchCenterID)
                               
        {
            return dal.GetTelRecordList(pageSize, pageIndex, start, end, callPhone, workCode, deskCode, resultType, isCallOut,
                                            isInLine, isWireless, em, selfWorkCode, selfCenterID, selfStationID, eventDispatchCenterID);
        }

        //台号
        public object GetDeskCodeList(string eventDispatchCenterID)
        {
            return dal.GetDeskCodeList(eventDispatchCenterID);
        }

        public object GetCallResultType()
        {
            return dal.GetCallResultType();
        }
    }
}
